package com.hk.springsecurity01.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author by 何坤
 * @Classname UserController
 * @Description TODO
 * @Date 2019/11/28 15:34
 */
@RestController
@RequestMapping(value = "/user")
public class UserController {

    @GetMapping(value = "hello")
    public String userOfHello(){
        return "hello user";
    }
}
